<?php /* Smarty version Smarty-3.1.6, created on 2017-04-18 09:41:46
         compiled from "Upload\answer\20170418\e9jnr6yw8.html" */ ?>
<?php /*%%SmartyHeaderCode:165758f56edadad4b5-15797837%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '37fe916cd1e3820937862d9ac8e6fcb35cfaddc2' => 
    array (
      0 => 'Upload\\answer\\20170418\\e9jnr6yw8.html',
      1 => 1492479696,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '165758f56edadad4b5-15797837',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.6',
  'unifunc' => 'content_58f56edadb43b',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_58f56edadb43b')) {function content_58f56edadb43b($_smarty_tpl) {?>#include<stdio.h>
void main()
{  int a[3][4]={{60,70,65,75},{75,80,75,90},{95,75,90,65}};
	int i,j;
	float average,sum=0.0;
   printf("三个学生的总分和平均成绩依次为：\n");
	for(i=0;i<3;i++)
	{   sum=0.0;
		for(j=0;j<4;j++)
		sum=sum+a[i][j];
		average=sum/4;
		printf("%.2f,%.2f\n",sum,average);
	}
}<?php }} ?>